package com.frank.subject.infra.basic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.frank.subject.infra.basic.entity.SubjectBrief;
import com.frank.subject.infra.basic.mapper.SubjectBriefMapper;
import com.frank.subject.infra.basic.service.SubjectBriefService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 简答题(SubjectBrief)表服务实现类
 *
 * @author makejava
 * @since 2024-01-23 17:22:31
 */
@Service("subjectBriefService")
public class SubjectBriefServiceImpl extends ServiceImpl<SubjectBriefMapper, SubjectBrief> implements SubjectBriefService  {
    @Resource
    private SubjectBriefMapper subjectBriefMapper;

    @Override
    public SubjectBrief queryBySubjectId(Long subjectId) {
        return this.subjectBriefMapper.queryBySubjectId(subjectId);
    }
}
